import { createApp } from 'vue'
import installElementPlus from './plugins/element'
import App from './App.vue'
import qs from 'qs'
import router from './router'
import store from './store'
import * as echarts from 'echarts'
import axios from './axios'
const app = createApp(App)
installElementPlus(app)

// 导入字体图标
import './assets/fonts/iconfont.css'
// 导入全局样式表
import './assets/css/global.css'

app
    .use(store)
    .use(router)
    .mount('#app')

app.config.globalProperties.$echarts = echarts
app.config.globalProperties.$qs = qs
app.config.globalProperties.$axios = axios